Adwaita: fix scale popup button size
authorLapo Calamandrei <calamandrei@gmail.com>
Sun, 14 Feb 2016 13:21:01 +0000 (14:21 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Sun, 14 Feb 2016 13:21:01 +0000 (14:21 +0100)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index d5cb327f9f7dddeb2086da56161e0b47c33d3c13..59b06a3b179c0b57dbc07702fa8914ab4705df3f 100644 (file)
@@ -3568,17 +3568,14 @@ colorswatch {
 
 .scale-popup {
 
-   .osd & { @extend %osd; }
+  .osd & { @extend %osd; }
 
-   .osd & button.flat {  //FIXME: quick hack, redo properly
-     padding: 6px;
-     border-style: none;
-     border-radius: 5px;
-   }
+  .osd & button.flat {  //FIXME: quick hack, redo properly
+    border-style: none;
+    border-radius: 5px;
+  }
 
   button { // +/- buttons on GtkVolumeButton popup
-    padding: 6px;
-
     &:hover {
       @extend %undecorated_button;
       background-color: transparentize($fg_color,0.9);
index c93f36acd709f26343a516961d5ae19db1c3ae78..bf7ad2c9c1283aa7eb6ed1fccb4fadd3c20c7c29 100644 (file)
@@ -4288,14 +4288,11 @@ colorswatch#editor-color-sample {
 .osd .scale-popup button.flat, .osd .scale-popup notebook > header > tabs > arrow, .osd .scale-popup button.sidebar-button, .osd .scale-popup headerbar button.titlebutton, headerbar .osd .scale-popup button.titlebutton,
 .osd .scale-popup .titlebar button.titlebutton,
 .titlebar .osd .scale-popup button.titlebutton {
-  padding: 6px;
   border-style: none;
   border-radius: 5px; }
-.scale-popup button {
-  padding: 6px; }
-  .scale-popup button:hover {
-    background-color: rgba(238, 238, 236, 0.1);
-    border-radius: 5px; }
+.scale-popup button:hover {
+  background-color: rgba(238, 238, 236, 0.1);
+  border-radius: 5px; }
 
 /**********************
  * Window Decorations *
index 2c633caee5f56cb3d6275c9726302877702fc1c8..770534ec391d6c951dfbce0f73b22cfd1a95229b 100644 (file)
@@ -4429,14 +4429,11 @@ colorswatch#editor-color-sample {
 .osd .scale-popup button.flat, .osd .scale-popup notebook > header > tabs > arrow, .osd .scale-popup button.sidebar-button, .osd .scale-popup headerbar button.titlebutton, headerbar .osd .scale-popup button.titlebutton,
 .osd .scale-popup .titlebar button.titlebutton,
 .titlebar .osd .scale-popup button.titlebutton {
-  padding: 6px;
   border-style: none;
   border-radius: 5px; }
-.scale-popup button {
-  padding: 6px; }
-  .scale-popup button:hover {
-    background-color: rgba(46, 52, 54, 0.1);
-    border-radius: 5px; }
+.scale-popup button:hover {
+  background-color: rgba(46, 52, 54, 0.1);
+  border-radius: 5px; }
 
 /**********************
  * Window Decorations *